﻿package cgs.server.logging.requests
{

    public class CallbackRequest extends Object implements ICallbackRequest
    {
        protected var _callback:Function;
        protected var _returnDataType:String;

        public function CallbackRequest(param1:Function, param2:String = "TEXT")
        {
            this._callback = param1;
            this._returnDataType = param2;
            return;
        }// end function

        public function get callback() : Function
        {
            return this._callback;
        }// end function

        public function get returnDataType() : String
        {
            return this._returnDataType;
        }// end function

    }
}
